package com.huisang.service;

import com.github.pagehelper.PageInfo;
import com.huisang.domain.Customer;
import com.huisang.util.ResponseEntity;

import java.util.List;


public interface CustomerService {
    PageInfo<Customer> findCustomerAll(Integer pageNum, Integer pageSize);

    ResponseEntity<Integer> addCustomer(Customer customer);

    ResponseEntity<Integer> deleteCustomer(Integer id);

    ResponseEntity<Integer> updateCustomer(Customer customer);

    ResponseEntity<Customer> findOneCustomerById(Integer id);
    List<Customer> findAllCustomer2();
}
